<form class = "ajax-form" action = "{:url('')}" method="post">
    <div class = "form-group row">
        <label class = "col-sm-2 col-xs-12">用户名</label>
        <div class = "col-sm-10 col-xs-12">
            <input type="text" name="username" class="form-control" value = "{$vo.username|default=''}" disabled placeholder="请填写用户名"/>
        </div>
    </div>
    <div class = "form-group row">
        <label class = "col-sm-2 col-xs-12">新密码</label>
        <div class = "col-sm-10 col-xs-12">
            <input type="password" name = "password" class = "form-control"  placeholder="请填写新密码"/>
        </div>
    </div>
    <div class = "form-group row">
        <label class = "col-sm-2 col-xs-12">确认密码</label>
        <div class = "col-sm-10 col-xs-12">
            <input type="password" name="repassword" class = "form-control"  placeholder="请填写确认密码"/>
        </div>
    </div>
    {if isset($vo['id'])}<input type='hidden' value='{$vo.id}' name='id'>{/if}
    <div class = "form-group user-btn-group">
        <button class="btn btn-success" type='submit'>保存</button>
        <button class="btn btn-warning" type='button' data-confirm="确定要取消数据保存吗？" data-dismiss="modal">取消</button>
    </div>
</form>